using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Galaktika.BI.Extensibility.Dom.Dac
{
    using Galaktika.BI.Extensibility;

    [XmlRoot(Namespace = Galaktika.BI.Silverlight.Common.Namespace)]
    public class BrickDataSource : BrickObject
    {
        public BrickDataSource()
        {
        }

        public BrickDataSource(string name, BrickQuery query, BrickConnection connection)
            : base(name)
        {
            this.Query = query;
            this.Connection = connection;
        }

        public BrickConnection Connection { get; set; }

        public BrickQuery Query { get; set; }
    }
}
